<%-- 
    Document   : viewResults
    Created on : 20/08/2011, 3:47:34 PM
    Author     : David Bullock - s4206222
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="header.jsp" %>

</head>

<div id="content-container">
    <div id="content">
        <!-- Content goes here -->
        <div id="tablecontainer">
        ${code}
        <c:if test="${! empty SR}">
            
            <table class ="gentable" cellpadding="2">
                <thead>
                    <tr>
                        <th>Response</th>
                        <th>No. Responses</th>
                    </tr>
                </thead>
                <tbody>
                <c:forEach items="${SR.keySet()}" var="key">
                    <tr>
                        <td>${key}</td>
                        <td>${SR.get(key)}</td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>
        </c:if>
        </div>
            
    </div>
</div>		

<%@ include file="footer.jsp" %>